package com.zygh.dlqwservice.module.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 批量插入岗位关系
 */
@Data
public class PositionRelationAddVO {
    @ApiModelProperty("警员警号")
    @NotNull(message = "警员警号 不能为空")
    private List<Long> warningsignalList;

    @ApiModelProperty("岗位id")
    @NotNull(message = "岗位id 不能为空")
    private Long jobId;

    public PositionRelationAddVO() {
    }

    public PositionRelationAddVO(List<Long> positionIdList, Long employeeId) {
        this.warningsignalList = warningsignalList;
        this.jobId = jobId;
    }
}
